package com.ihr360.expr.engine;

import com.ihr360.expr.ExprError;
import com.ihr360.expr.core.Expr;
import com.ihr360.expr.core.ExprVariable;
import com.ihr360.expr.data.ExprValueMeta;

public interface VariableFetcher {
    Expr variable(String variableId);

    Expr notifyMissing(ExprVariable variable);

    default  ExprValueMeta valueMeta(String variableId){
        return null;
    }

    default void onError(VariableID variable, Expr input, ExprError e,double defaultValue){
    }
}
